﻿using System;

namespace Kindohm.KSynth.Library
{
    public class NoiseWaveForm : IWaveForm
    {
        Random random;

        public NoiseWaveForm()
        {
            this.random = new Random();
        }

        public short GetSample(ushort phaseAngle)
        {
            return (short)this.random.Next(short.MinValue, short.MaxValue);   
        }
    }
}
